package com.crr.entity;

import lombok.*;
import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Emp implements Serializable {
    private int empno;
    private String ename;
    private String job;
    private double sal;
    private Date hiredate;


    public Emp(String ename, String job, double sal) {
        this.ename = ename;
        this.job = job;
        this.sal = sal;
    }
}
